Overload | Description |
---|---|
SynchronizedDictionary<TKey,TValue> Constructor() | Constructs a thread-safe generic collection of key/value pairs using exclusive locking. |
SynchronizedDictionary<TKey,TValue> Constructor(IEqualityComparer<TKey>) | Constructs a thread-safe generic collection of key/value pairs using exclusive locking. |
SynchronizedDictionary<TKey,TValue> Constructor(IEqualityComparer<TKey>,ILockStrategy) | Constructs a thread-safe generic collection of key/value pairs using the lock provided. |
SynchronizedDictionary<TKey,TValue> Constructor(ILockStrategy) | Constructs a thread-safe generic collection of key/value pairs using the lock provided. |
SynchronizedDictionary<TKey,TValue> Constructor(IDictionary<TKey,TValue>) | Constructs a thread-safe generic collection of key/value pairs using the default locking type for exclusive access, akin to placing lock(this) around each call. If you want to allow reader/writer locking provide one of those lock types from the Synchronization namespace. |
SynchronizedDictionary<TKey,TValue> Constructor(IDictionary<TKey,TValue>,ILockStrategy) | Constructs a thread-safe generic collection of key/value pairs. |
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7